package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.DataEntity;
import cn.edu.sjtu.se.dslab.component.data.Operation;

public interface IOperationService {
	
	public boolean addOperation(Operation operation);

	public boolean updateOperation(Operation operation);

	public Operation getOperationById(long id);

	public List<Operation> getOperationByDataEntity(DataEntity entity);
}
